package models

import "gorm.io/gorm"

type Novel struct {
	gorm.Model
	Novel   string `gorm:"type:int" json:"novel"`
	Book    string `gorm:"type:varchar(20)" json:"book"`
	Author  string `gorm:"type:varchar(50)" json:"author"`
	Img     string `gorm:"type:varchar(100)" json:"img"`
	Types   string `gorm:"enum('都市','仙侠','言情')" json:"types"`
	Address string `gorm:"varchar(225)" json:"address"`
}
